package com.haoze.common.utils;

import java.util.List;

/**
 * @author zh
 */
public class ListUtils {

    /**
     * 判断list为空
     * @param list
     * @return
     */
    public static Boolean isBlack(List list){
        if(null == list || list.isEmpty()){
            return true;
        }
        return false;
    }

    /**
     * 判断list不为空
     * @param list
     * @return
     */
    public static Boolean isNotBlack(List list){
        return !isBlack(list);
    }
}
